package com.bear.fastrepair.http.api

import com.bear.fastrepair.entity.OrderDispatch
import com.bear.fastrepair.entity.ResponseInfo
import retrofit2.http.Body
import retrofit2.http.POST

/**
 * 派单API
 */
interface DispatchService {

    /**
     * 管理员派单
     * @param orderDispatch OrderDispatch 派单Body
     * @return ResponseInfo
     */
    @POST("orderServe/orderAssign")
    suspend fun orderDispatch(@Body orderDispatch: OrderDispatch): ResponseInfo
}